Problem Note 42118: Values containing an ampersand are treated as macro variables by the SGPLOT, SGPANEL, and SGSCATTER procedures
The following warning message might be received when using the SAS/GRAPH® Statistical Graphics procedures SGPLOT, SGPANEL, and SGSCATTER:
WARNING: Apparent symbolic reference XXXX not resolved.
The problem is most likely to occur when the ampersand symbol is included as part of an axis or variable label. For example:
proc sgplot data=sashelp.class;
scatter x=weight y=height;
label height='&testlabel';
xaxis label='&testaxis';
run;
The graph output contains the text as expected, but there is currently no way to prevent the warning message from being produced.
Operating System and Release Information
SAS System | SAS/GRAPH | z/OS | 9.2 TS1M0 | 9.4 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | 9.4 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | 9.4 TS1M0 |
Microsoft® Windows® for x64 | 9.2 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | 9.4 TS1M0 |
Microsoft Windows XP Professional | 9.2 TS1M0 | 9.4 TS1M0 |
Windows Vista | 9.2 TS1M0 | 9.4 TS1M0 |
Windows Vista for x64 | 9.2 TS1M0 | 9.4 TS1M0 |
64-bit Enabled AIX | 9.2 TS1M0 | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.2 TS1M0 | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.2 TS1M0 | 9.4 TS1M0 |
HP-UX IPF | 9.2 TS1M0 | 9.4 TS1M0 |
Linux | 9.2 TS1M0 | 9.4 TS1M0 |
Linux for x64 | 9.2 TS1M0 | 9.4 TS1M0 |
OpenVMS on HP Integrity | 9.2 TS1M0 | 9.4 TS1M0 |
Solaris for x64 | 9.2 TS1M0 | 9.4 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Values containing an ampersand are treated as macro variables by the SAS/GRAPH® Statistical Graphics procedures SGPLOT, SGPANEL, and SGSCATTER.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2011-02-16 12:22:45 |
Date Created: | 2011-01-19 09:05:48 |